package com.lightkits.wms.client;


import com.lightkits.wms.dto.document.GenerateDocNumRequestType;
import com.lightkits.wms.dto.document.GenerateDocNumResponseType;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * DocumentServiceClient
 *
 * @author lanmi.xin@gmail.com
 * Created on 2019-05-19 19:52
 */
@FeignClient(value = "OS-CENTER-SERVICE")
public interface DocumentServiceClient {
    @PostMapping(value = "/DocumentService/generateDocNumber")
    GenerateDocNumResponseType generateDocNumber(GenerateDocNumRequestType request);
}
